package com.lzy.crm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lzy.crm.base.mybatis.BaseMapper;
import com.lzy.crm.base.page.PageQuery;
import com.lzy.crm.dao.criteria.NoticeCriteria;
import com.lzy.crm.domain.Notice;

public interface NoticeMapper extends BaseMapper<Notice, NoticeCriteria>{

	/**
	 * 分页查询公告
	 * @param pageQuery
	 * @return
	 */
	public List<Notice> getCardFlowList(@Param("title")String title,PageQuery pageQuery);
	
	/**
	 * 获取最新的一个公告
	 * @return
	 */
	public Notice getNewNotece();
}
